package com.aftersale.demo.service.impl;

import com.aftersale.demo.entity.Permission;
import com.aftersale.demo.mapper.PermissionMapper;
import com.aftersale.demo.service.PermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission>
    implements PermissionService{
    @Autowired
    PermissionMapper permissionMapper;
    @Override
    public List<Permission> permission(List<Integer> per_list){
        return permissionMapper.permission(per_list);
    }
}




